
export default function(obj){
    let _success=obj.success;
    let _fail=obj.fail;
    cordova.exec(function(str) {
      console.log('scan',str)
        _success(str)
    }, function(e) {
      _fail(e)
    }, "BarCodeInfo","scanCode",[]);

}
